package com.gzy.xuexiziliao.service;

import com.gzy.xuexiziliao.common.result.PageResult;
import com.gzy.xuexiziliao.pojo.entity.Student;

import java.time.LocalDate;
import java.util.List;

public interface StudentService {
    void save(Student student);

    void delete(List<Integer> ids);

    void update(Student student);

    Student getById(Integer id);

    Student getByOpenId(String openid);

    PageResult page(Integer page, Integer pageSize, String name, Short gender, LocalDate begin, LocalDate end);



    List<Student> getByName(String name);





    Student wxlogin(Student student);




    void UpdateUserInfo(Student student);




    // 正确示例：直接返回查询结果
    int checkstatus(Student student);


    PageResult informationpage(Integer page, Integer pageSize, String name, Short gender, LocalDate begin, LocalDate end);

    String getPhone(Integer id);
}
